|
CruiseControl.NET : Project Trigger
This page last changed on Jun 26, 2007 by rosspatterson.
The Project Trigger is used to trigger a build when the specified dependent project has completed its build. This trigger can help you split your build process across projects and servers. For example, you could have a CCNet project that will trigger the regression test suite once the main development build has completed successfully. This dependent build could be running on either a local or a remote CCNet server. The Project Trigger works by using .NET remoting to poll the status of the dependent project. Whenever it detects that the dependent project has completed a build, the Project Trigger will fire. The Project Trigger can be configured to fire when the dependent project build succeeded, failed or threw an exception. In order to avoid hammering the remote project through polling, the Project Trigger is composed of an Interval Trigger that will set a polling interval to 5 seconds. This inner trigger can be adjusted through changing the configuration. Examples
Minimalist example: <projectTrigger project="Core" />
Full example: <projectTrigger serverUri="tcp://server:21234/CruiseManager.rem" project="Server"> <triggerStatus>Success</triggerStatus> <innerTrigger type="intervalTrigger" seconds="30" buildCondition="ForceBuild"/> </projectTrigger> Configuration Elements:
The Project Trigger is included in the CCNet 1.0 release and later. |
| Document generated by Confluence on Mar 14, 2009 02:55 |